home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / smoke / Makefile < prev    next >
Makefile  |  1994-08-01  |  627b  |  36 lines

  1.  
  2. #!smake
  3.  
  4. include $(ROOT)/usr/include/make/commondefs
  5.  
  6. #DEBUG= -g3 -DDEBUG
  7. DEBUG= 
  8.  
  9. #TEXDEF = -DNOTEXTURE
  10. # comment the below and uncomment the above, then remake, to see plain polygons
  11. TEXDEF =
  12.  
  13.  
  14. LCDEFS    = $(DEBUG) $(TEXDEF)
  15. LCOPTS    = -O2
  16. OBJECTS    = ufctimes.o uLinMath.o pfsqrt.o getgfxtype.o \
  17.             uTex.o uSmoke.o smoke.o main.o 
  18.  
  19. TARGETS    = smoke
  20.  
  21. default all: $(TARGETS)
  22.  
  23. include $(COMMONRULES)
  24.  
  25. $(TARGETS): $(OBJECTS)
  26.     $(CCF) $(OBJECTS) -o smoke -lgutil -limage -lgl  -lm
  27.  
  28. pfsqrt.o: 
  29.     $(CCF) -c pfsqrt.s $(DEBUG) -O2
  30.  
  31. getgfxtype.o:
  32.     $(CCF) -c getgfxtype.c $(DEBUG) -DIRIX5
  33.  
  34. uTex.o:
  35.     $(CCF) -c uTex.c $(DEBUG) -DIRIX5
  36.